import { defineStore } from "pinia";

export const useDisplayMessage = defineStore("DisplayMessage", {
  state: () => {
    return {
      displayMessage: "",
    };
  },
  actions: {
    setDisplayMessage(message : string) {
      this.displayMessage = message;
    },
    getDisplayMessage() {
      return this.displayMessage;
    },
  }
});